<html>
<head>
<title>添加分组</title>
{% include "systy.html" %}
</head>
<body>
{% ifnotequal username None%}
<div class="groupadd_div1">
    <form action="" method="post">
    <label>组  名：</label>{{ fr.group_name }} <button type="submit" class="btn btn-primary btn-xs"> 添 加 </button>
    </form>
</div>

<div class="groupadd_div2">
    <label>现有的分组：</label></br>
    <ul class="">
    {% for group in group_list %}
<li>{{ group }} <span><a class="btn btn-danger btn-xs" href="/groupdel/{{ group.id }}.html" onClick="delcfm()">删除</a></span></li>
    {% endfor %}
    </ul>
</div>

{% else %}
你无权访问，请<a href="/login.html">登陆!</a>
{% endifnotequal%}
</body>
</html>
